﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using ControllerBase = BitworkStudios.Web.Mvc.Framework.Controller.ControllerBase;

namespace BitworkStudios.Web.Mvc.Framework.Navigation
{
    public class MenuController : ControllerBase
    {
        [ChildActionOnly]
        public PartialViewResult TopMenu()
        {
            return PartialView("_NavigationPartial", Navigation.RootMenu);
        }

        [ChildActionOnly]
        public PartialViewResult SectionMenu()
        {
            return PartialView("_NavigationPartial", Navigation.SectionMenu);
        }

        [ChildActionOnly]
        public PartialViewResult SideMenu()
        {
            return PartialView("_NavigationPartial", Navigation.SideMenu);
        }
    }
}
